package com.chanceit.ssss.activity;

import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.chanceit.ssss.fragments.CarRecordFragment;

public class CarRecordActivity extends BaseFragmentActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.fragment_container);
		if (findViewById(R.id.fragment_container) != null) {
			if (savedInstanceState != null) {
				return;
			}
			Fragment fragment = new CarRecordFragment();
			getSupportFragmentManager().beginTransaction()
					.add(R.id.fragment_container, fragment).commit();
		}
	}
}
